package com.tanhua.model.mongo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.bson.types.ObjectId;
import org.springframework.data.mongodb.core.mapping.Document;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Document(collection = "option")
public class Option implements java.io.Serializable {

    /**
     * 主键id
     */
    private ObjectId id;
    /**
     * 选项内容
     */
    private String option;
    /**
     * 得分
     */
    private Integer points;
}